package com.lcf.framework.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 实体基类
 *
 * @author lcf
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BaseModel<T extends BaseModel<T>> extends BaseNoTenantModel<T> {
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;
}
